[ci] preview release (preview) - #3991
Merged
Merged
Conversation
shopify-github-actions-access
Bot
requested a review
from a team
as a code owner
September 3, 2026 22:10
shopify-github-actions-access
Bot
force-pushed
the
changeset-release/preview
branch
8 times, most recently
from
September 11, 2026 16:52
1d4a66c to
bd0732e
Compare
shopify-github-actions-access
Bot
force-pushed
the
changeset-release/preview
branch
from
September 11, 2026 18:08
bd0732e to
ba54653
Compare
fredericoo
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to preview, this PR will be updated.
previewis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonpreview.Releases
@shopify/hydrogen@2026.10.0-preview.3
Minor Changes
8827904: Add an
accountoption togetShopifyScriptTags()and the React/VueShopifyScriptscomponents. When enabled, Hydrogen loads the Shopify customer account web component (https://cdn.shopify.com/storefront/web-components/account.js) with the same nonce andcrossoriginhandling as the other Shopify runtime scripts. Render<shopify-account>where you want the account UI to appear. The script URL is also exported asSHOPIFY_ACCOUNT_SCRIPT.96f9d2d: Add
register("attributeValue", { key, value })toProductFormRegisterfor attaching line-item attributes (engraving text, gift messages, custom options) through the form-based add-to-cart path. Both client-side (getAddPayload) and server-side (parseAddIntent) now extractattributes.*entries from FormData. Exports two new types:ProductAttributeValuePropsandProductAttributeDefaultValueProps.d92f398: Add
hydrogen skills check, which exits non-zero when the project's synced skills do not match the installed@shopify/hydrogen, or were never synced. It prints the summaryskills syncwould act on and writes nothing. The default--mode=errorgates CI;--mode=warnprints the same message and exits zero for dev scripts.05e43e6: Add
hydrogen skills syncto keep packaged agent skills aligned with the installed@shopify/hydrogenversion. Skills are always written to both.claude/skillsand.agents/skills, covering Claude Code, Codex, Cursor, and OpenCode without configuration. Each copiedSKILL.mdrecords the package version and a content hash under frontmattermetadata. Rerunning the command after an upgrade overwrites unmodified skills, adds new ones, removes skills the package no longer ships, and leaves locally modified skills alone unless--forceis passed. If you edited a skill the package no longer ships, you are asked before it is removed; without a terminal (for example in CI) it is kept and a warning is printed.hydrogen setupruns the same sync after installing the package and accepts the same--force, so rerunning it over previously synced skills now updates them instead of failing. Preview templates ship their skills with the same metadata, soskills syncworks on deployed templates too.Projects that ran
hydrogen setupbefore this version have skills without the metadata block. Runnpx @shopify/hydrogen skills sync --forceonce to adopt them; later syncs then manage them normally. Skills from those earlier copies whose names are no longer shipped are not recognised and should be deleted by hand.54a1e7e: Proxy caller-authenticated UCP MCP requests from
/api/ucp/mcpto the configured Shopify store.Patch Changes
hydrogen-cart-metafieldsskill: a behavioral guide for reading and writing cart metafields (custom cart data such as delivery instructions) through a customCartFragment, an app-owned mutation route, anduseCartActions().refresh().mock.shopitself, so a storefront built against a per-store host such aspets.mock.shopbehaves the same in mock mode. Thehydrogen-storefront-clientandhydrogen-setupskills now explain that mock.shop is a catalog of stores and how to pick one from https://mock.shop/llms.txt.AbortErrorconsole errors.